package com.uama.plugin.reference;

import com.intellij.openapi.util.TextRange;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiMethod;
import com.intellij.psi.PsiReference;
import com.intellij.psi.util.ReferenceSetBase;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public class MyResultSet extends ReferenceSetBase<PsiReference> {

    public MyResultSet(String text, @NotNull PsiElement element, int offset, char separator) {
        super(text, element, offset, separator);
    }

    @Nullable
    @Override
    protected PsiReference createReference(TextRange range, int index) {
        PsiElement element = getElement();
        if (element instanceof PsiMethod) {

        }
        return super.createReference(range, index);
    }


}
